package com.jeesite.modules.pay.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeesite.common.entity.DataEntity;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author mr
 * @date 2021/3/16 14:09
 */
public class Tpay extends DataEntity<Tpay> {

    private static final long serialVersionUID = 1L;
    private Date date;
    private String paymentCode;
    private String supplierId;
    private String remarks;
    private String frameNumber;
    private String expenseItem;
    private String apAmount;
    private String prepaymentCode;
    private String prepaymentBalance;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @NotNull(message="日期不能为空")
    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getPaymentCode() {
        return paymentCode;
    }

    public void setPaymentCode(String paymentCode) {
        this.paymentCode = paymentCode;
    }

    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    @Override
    public String getRemarks() {
        return remarks;
    }

    @Override
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getFrameNumber() {
        return frameNumber;
    }

    public void setFrameNumber(String frameNumber) {
        this.frameNumber = frameNumber;
    }

    public String getExpenseItem() {
        return expenseItem;
    }

    public void setExpenseItem(String expenseItem) {
        this.expenseItem = expenseItem;
    }

    public String getApAmount() {
        return apAmount;
    }

    public void setApAmount(String apAmount) {
        this.apAmount = apAmount;
    }

    public String getPrepaymentCode() {
        return prepaymentCode;
    }

    public void setPrepaymentCode(String prepaymentCode) {
        this.prepaymentCode = prepaymentCode;
    }

    public String getPrepaymentBalance() {
        return prepaymentBalance;
    }

    public void setPrepaymentBalance(String prepaymentBalance) {
        this.prepaymentBalance = prepaymentBalance;
    }
}
